package com.nine.mymall.product.fegin;

import com.nine.common.to.es.SkuEsModel;
import com.nine.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: duonine
 * @date: 2021/10/30
 */
@FeignClient("mymall-search")
public interface SearchFeginService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
